/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package cc.ls51.common;

/**
 * 常量
 */
public class Constant {
    public enum UserState {
        STATE_LOCK(0,"锁定状态")
        ,STATE_OK(1,"正常状态");
        private int value;
        private String desc;

        UserState(int value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public int getValue() {
            return value;
        }

        public void setValue(int value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }
	/**
	 * 角色
	 */
    public enum RolType {
        SUPER_ADMIN(1,"超级管理员");

        RolType(int value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        private int value;
        private String desc;

        public int getValue() {
            return value;
        }

        public void setValue(int value) {
            this.value = value;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }
    }
}
